package com.example.psychologicalappointmentsystem.service;

import com.example.psychologicalappointmentsystem.Object.ChatMessageVO;
import org.springframework.http.ResponseEntity;

/**
 * ClassName ChatMessageService
 * Description TODO
 * Date 2025/2/14 16:31
 * Version 1.0
 */
public interface ChatMessageService {

    //保存聊天记录
    void saveMessage(ChatMessageVO chatMessageVO);

    void updateMessageStatus(ChatMessageVO chatMessageVO);

    //返回某一个人的7天聊天记录
    ResponseEntity<?> chatHistory(ChatMessageVO chatMessageVO);

    //历史聊天列表
    ResponseEntity<?> chatSession();

    //未读消息,只返回7天内的未读消息
    ResponseEntity<?> unread();

}
